package top.fangw.tenant.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import top.fangw.common.core.entity.BaseEntity;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;
import top.fangw.common.core.entity.CreateEntity;
import top.fangw.common.core.entity.CreateEntityWithOutId;

/**
 * <p>
 * 用途：用于管理租户套餐与应用菜单的关联管理
 * </p>
 *
 * @author fangw
 * @since 2024-02-02
 */
@Getter
@Setter
@Accessors(chain = true)
@TableName("g_tbl_package_jon_menu")
@Schema(name = "PackageJonMenu", description = "用途：用于管理租户套餐与应用菜单的关联管理")
public class PackageJonMenu extends CreateEntityWithOutId {


    @Schema(description = "租户套餐id用来展示的租户名称")
    @TableField("tenant_package_id")
    private String tenantPackageId;

    @Schema(description = "菜单id用于根据租户号创建数据库或数据表")
    @TableField("menu_id")
    private String menuId;
}
